package com.haiyou.dc.excel;

import java.io.FileInputStream;
import java.io.IOException;
import java.util.List;

public class Read07 {

    public static void main(String[] args) throws IOException {

        //读取excel
        String file = "G:\\IdeaProjects\\my-java-project\\dc-java\\src\\test\\java\\test.xls";
        List<PZ> dataList = ExcelUtil.readListFrom(new FileInputStream(file), PZ.class);
        System.out.println(dataList);


    }

}